Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Running the Progress-to-MSS utility
The Progress-to-MSS utility runs in Windows with a DataServer accessing MS SQL Server through an ODBC driver.
You can run the utility interactively from Windows or Unix, or in batch mode.
Running the Progress-to-MSS utility interactively
![]()
To run the Progress-to-MSS utility interactively:
- Create a target MS SQL Server. You must use an empty target data source when you run the Progress-to-MSS utility.
- Configure your ODBC driver to connect to your new target data source.
Note: For a DBE (double-byte enabled) DataServer application, you must specify the Internal Code Page (- Start the OpenEdge client and connect to the OpenEdge database that you want to migrate to the target data source.
-cpinternal) and Stream Code Page (-cpstream) parameters when you start the OpenEdge client. The values that you specify for these parameters must match the code page that the target data source uses.- From the Data Administration tool, choose DataServer
MS SQL Server Utilities
Schema Migration Tools
Progress DB to MS SQL Server. The following screen appears:
![]()
It prompts you for the information described in Table 7–5.
Table 7–5: Progress-to-MSS utility Interface element Description Original PROGRESS Database Accept the default value of sports, which is displayed. Connect parameters for PROGRESS Accept the default value, which specifies the current working database. Name of Schema holder Database Type myholder. Logical Database Name Type the name that OpenEdge will use to identify the MS SQL Server database. ODBC Data Source Name Type mysport, which is the name you used when registering the data source. Username Type the user ID for MS SQL Server. User’s Password Type the password of the user. Connect parameters See Chapter 6, "Connecting the DataServer," for connection parameters. MaximumVarchar Length Enter the maximum size of theVARCHARfield. Any size greater will be text. Max size is 8000. Codepage Accept the default code page. Collation Accept the default. Insensitive Accept the default. Create RECID Field If this parameter is available for your data source type, check this toggle box to obtain the Extended 4GL capability. Load SQL Leave this box checked to have the generated SQL script loaded into the data source. Move Data Check this toggle box to dump and load data from OpenEdge to MS SQL Server. Create Shadow Columns MS SQL Server is case insensitive by default and this box is unmodifiable. When SQL Server is configured with a case sensitive code page, this box is available for selection. Selecting it provides case insensitivity compatible with the behavior of an OpenEdge database. Include Defaults Check if you want the OpenEdge initial value used as the default in the SQL script. For fields width use: When pushing fields to a foreign data source, you can select one of two primary field format options:If you select the 4GL Format option, you have an additional setting to define:Note: You cannot use the Expand x(8) to 30 setting with the Width option.To perform a complete migration of your OpenEdge database to a target data source, you must enter information in all appropriate fields and check all appropriate toggle boxes.
The utility creates a schema holder, updates the empty target data source that you created to contain the objects stored in your OpenEdge database, and creates a startup procedure that you can use to connect your schema holder. The startup procedure derives its name from the logical name for your target database. For example, if you specified “sports” as the logical data source name, the utility creates the
csports.pstartup procedure.Running the Progress-to-MSS utility in batch mode
![]()
To run the Progress-to-MSS utility in batch mode:
- Create a target MS SQL Server database. You must use an empty target data source when you run the Progress-to-MSS utility.
- Configure your ODBC driver to connect to your new target data source.
- On your client machine, pass parameters to the utility by setting the environment variables listed in Table 7–6.
- Enter the following commands to set and export environment variables at the system prompt:
- Run
protomss.p.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |